<template>
	<!-- 客服电话修改 -->
	<view class="layout">
		<view class="item">
			<view class="itemLeft">
				*<text class="Title">客服名称</text>
			</view>
			<view class="itemRight">
				<input type="text" placeholder="请填写" placeholder-style="font-size:28rpx;color:#eee;"/>
			</view>
		</view>
		<view class="item">
			<view class="itemLeft">
				*<text class="Title">客服电话</text>
			</view>
			<view class="itemRight">
				<input type="text" placeholder="请填写" placeholder-style="font-size:28rpx;color:#eee;"/>
			</view>
		</view>
		<!-- 证件照 -->
		<view class="Tel">
			<text class="touxiang">客服头像</text>
			<view class="FileUpload">
				<view class="PositiveUpload">
					<image class="Image" src="../../../static/oneuser/u202.png" mode="heightFix"></image>
					<text class="FileText">上传客服头像照片</text>
				</view>
			</view>
		</view>
		<view class="Button">
			<button form-type="submit" type="primary" disabled="">确认</button>
		</view>
	</view>
</template>

<script setup>
	import {
		reactive
	} from 'vue';
	
	const imageStyles = reactive({
		width: 80,
		height: 80,
		border: false
	})
</script>

<style lang="scss" scoped>
	.layout{
		height: 100vh;
		padding: 0 30rpx;
		.item{
			border-bottom: 1px solid #ccc;
			display: flex;
			align-items: center;
			height: 100rpx;
			.itemLeft{
				margin-right: 50rpx;
				font-weight: 550;
				color: red;
				.Title{
					font-size: 32rpx;
					color: black;
				}
			}
			.itemRight{
				input{
					height: 60rpx;
				}
			}
		}
		.Tel {
			margin-top: 20rpx;
			height: 22vh;
			width: 100%;
			.touxiang{
				font-size: 32rpx;
				font-weight: 550;
			}
			.FileUpload {
				margin-top: 30rpx;
				width: 100%;
				height: 60%;
				display: flex;
				.PositiveUpload{
					display: flex;
					align-items: center;
					justify-content: center;
					flex-direction: column;
					width: 48%;
					height: 220rpx;
					border-radius: 10rpx;
					background-color: rgb(248, 248, 248);
					.Image{
						width: 100rpx;
						height: 100rpx;
						padding: 20rpx 0;
					}
					.FileText {
						margin-bottom: 30rpx;
						color: #999;
					}
				}
			}
	    }
		.Button {
			position: fixed;
			bottom: 50rpx;
			left: 30rpx;
			right: 30rpx;
		}
    }
</style>
